<#--默认导航菜单,最多只显示三级-->
    <#if menuPermissions?size == 0>
        <p style="z-index: 9999;position: fixed;left:10px;">暂未分配或未启用任何菜单权限</p>
        <#else>
            <ul  class="nav sidebar-menu defaultMenusView">
                <#list menuPermissions as mp>
                    <li >
                        <a href="<#if mp.url??&&mp.url!="">${mp.url?replace(':loginUserId',loginUserId)}<#else>javascript:</#if>" <#if mp.childrens?size gt 0> class="menu-dropdown" </#if>>
    <i class="menu-icon ${mp.icon}"></i>
    <span class="menu-text">${mp.name}</span>
    <#if mp.childrens?size gt 0>
        <i class="menu-expand"></i>
    </#if>
    </a>
    <#if mp.childrens?size gt 0>
        <ul  class="submenu">
            <#list mp.childrens as mp_1>
                <li>
                    <a href="<#if mp_1.url??&&mp_1.url!="">${mp_1.url?replace(':loginUserId',loginUserId)}<#else>javascript:</#if>" <#if mp_1.childrens?size gt 0> class="menu-dropdown" </#if>>
    <i class="menu-icon ${mp_1.icon}"></i>
    <span class="menu-text">${mp_1.name}</span>
    <#if mp_1.childrens?size gt 0>
        <i class="menu-expand"></i>
    </#if>
    </a>
    <#if mp_1.childrens?size gt 0>
        <ul  class="submenu">
            <#list mp_1.childrens as mp_2>
                <li>
                    <a href="<#if mp_2.url??&&mp_2.url!="">${mp_2.url?replace(':loginUserId',loginUserId)}<#else>javascript:</#if>">
    <i class="menu-icon ${mp_2.icon}"></i>
    <span class="menu-text">${mp_2.name}</span>
    </a>
    </li>
    </#list>
    </ul>
    </#if>
    </li>
    </#list>
    </ul>
    </#if>
    </li>
    </#list>
    </ul>
    <script type="text/javascript">
        $(".defaultMenusView a").click(function(){
            $(".defaultMenusView li").removeClass("activeMenu");
            $(this).parents("li").addClass("activeMenu")
        });
    </script>
    </#if>